#ifndef HEADERSANDMACROS_H
#define HEADERSANDMACROS_H

/* -------- C/Windows Library Includes -------- */

#include <winsock2.h>
#include <windows.h>
#include <stdio.h>
#include <windowsx.h>
#include <commdlg.h>
#include <ws2tcpip.h>
#include <tchar.h>
#include <strsafe.h>

/* -------- Local Header Files -------- */

#include "Connections.h"
#include "SocketFunctions.h"

/* -------- Macro Definitions -------- */

#define TCP				1
#define UDP				0

#define SERVER			1
#define CLIENT			0

#define MULTICAST		0
#define DOWNLOAD		1
#define UPLOAD			2
#define PLAYLIST		3
#define STREAMING		4
#define MICROPHONE		5

#define EXITERR			1
#define EXITNOERR		0
#define SUCCESS         1
#define FAILURE         0

#define TIMECAST_ADDR   "234.5.6.7"
#define UPLOADPORT		7001
#define TIMECAST_PORT   8910
#define MAXADDRSTR      16

#define SIZEERROR		200
#define SIZEMSG			100
#define SIZEIP			15

#endif
